package com.atguigu.boot3.ssm.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * @author lfy
 * @Description
 * @create 2023-04-20 16:58
 */
//@Data
@Component
public class TUser {
    private Long id;
    private String loginName;
    private String nickName;
    private String passwd;

    public TUser(Long id, String loginName, String nickName, String passwd) {
        this.id = id;
        this.loginName = loginName;
        this.nickName = nickName;
        this.passwd = passwd;
        System.out.println("TUser有参构造器初始化....");
    }

    public TUser() {
        System.out.println("TUser无参构造器初始化....");
    }
}
